# a=input("Enter a number:")
# if a>2:
#     print("11110")
# elif a<2:
#     print("22222")
# elif a==2:
#     print("33333")
# a b c比较大小
h=int(input("Enter a number:"))
print(type(h))
#elif判断
# 定义三个数
a = 3.145
b = 2.789
c = 3.146
# 比较这三个数的大小
# 使用 if-elif-else 结构来比较三个数的大小

if b < a:
    if a < c:
        result_if_elif_else = "b < a < c"
    elif c < b:
        result_if_elif_else = "c < b < a"
    else:
        result_if_elif_else = "b < c < a"
elif a < b:
    if b < c:
        result_if_elif_else = "a < b < c"
    elif c < a:
        result_if_elif_else = "c < a < b"
    else:
        result_if_elif_else = "a < c < b"
else:
    result_if_elif_else = "c < b < a" if c < b else "a < c < b"

result_if_elif_else

print(result_if_elif_else)
# 使用 and 连接符比较三个数的大小

result_and = ""
if b < a and a < c:
    result_and = "b < a < c"
elif b < c and c < a:
    result_and = "b < c < a"
elif a < b and b < c:
    result_and = "a < b < c"
elif a < c and c < b:
    result_and = "a < c < b"
elif c < a and a < b:
    result_and = "c < a < b"
else:
    result_and = "c < b < a"

print(result_and)
